package cn.icare.cms;

import cn.icare.cms.dao.po.Area;
import cn.icare.cms.model.ro.AddAreaRO;
import cn.icare.cms.model.ro.AddPositionRO;
import cn.icare.cms.model.ro.EditAreaRO;
import cn.icare.cms.model.ro.EditPositionRO;
import cn.icare.cms.model.vo.rest.MsgDatasVO;
import cn.icare.cms.model.vo.rest.PositionVo;

import java.util.List;

public interface AreaService {
    Long createOne(AddAreaRO ro,String actionName);

    boolean updateOne(EditAreaRO ro,String actionName);

    boolean deleteOne(Long id);

    boolean deleteBatch(List<Long> ids);

    Area getOne(Long id);

    MsgDatasVO getList(Long parentId,String name, Integer pageNum, Integer pageSize);
    Long getMasterId(String code);
}
